<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.js"></script>
    <link rel="stylesheet" href="../css/animate.css">
</head>
<body>
<div id="root">
    <transition
            appear
            enter-active-class="animated swing"
            leave-active-class="animated wobble"
            appear-active-class="animated swing"
    >
    <p v-if="show" name="fade">{{message}}</p>
    </transition>
    <button @click="handClick">Togolese</button>
</div>
<script>
    var vm = new Vue({
        el: "#root",
        data: {
            message: "hello world",
            show:true
        },
        methods: {
            handClick: function () {
                this.show=!this.show
            }
        }
    })
</script>
</body>
</html>